package com.ruoyi.wms.domain.entity.stock;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.ruoyi.common.mybatis.core.domain.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serial;
import java.math.BigDecimal;
import java.time.LocalDateTime;

/**
 * 采购申请对象 wms_purchase_requests
 *
 * @author zcc
 * @date 2024-11-20
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("wms_purchase_requests")
public class PurchaseRequests extends BaseEntity {

    @Serial
    private static final long serialVersionUID=1L;

    /**
     *
     */
    @TableId(value = "id")
    private Long id;
    /**
     * 单号
     */
    private String requestNumber;
    /**
     * 仓库ID
     */
    private Long warehouseId;
    /**
     * 库区id
     */
    private Long areaId;
    /**
     * 采购人ID
     */
    private Long requesterId;
    /**
     * 供货商ID
     */
    private Long merchantId;
    /**
     * 申请时间
     */
    private LocalDateTime requestDate;
    /**
     * 预期交货时间
     */
    private LocalDateTime expectedDeliveryDate;
    /**
     * 采购状态
     */
    private Integer purchaseStatus;
    /**
     * 订单金额
     */
    private BigDecimal payableAmount;
    /**
     * 商品总数
     */
    private BigDecimal totalQuantity;
    /**
     * 备注
     */
    private String remark;

}
